<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>测试匿名函数</title>
</head>
<body>


	<script type="text/javascript">


function say(word){
	  console.log(word);
	}
(function (someFunction, value){
	  someFunction(value);
	}(say,"Hello"));
	
	
	
	(function execute(someFunction,value){
		someFunction(value);
	}(function(word){
		console.log(word);
	},"Hello Node.js"));

</script>
</body>
</html>